package com.mybatisplus.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mybatisplus.demo.model.User;
import com.mybatisplus.demo.model.MyPage;
import com.mybatisplus.demo.model.ParamSome;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserMapper2 extends BaseMapper<User> {

    MyPage<User> mySelectPage(@Param("pg") MyPage<User> myPage, @Param("ps") ParamSome paramSome);

    List<User> listPage();
}
